
#ifndef LOG_CONFIG_H__
#define LOG_CONFIG_H__

#include "log.h"


#define LOGFILE_PATH       "logs/"
#define LOGFILE_PATH_NAME   "logs"
#define LOGFILE_PREFIX      "logs"
#define LOGFILE_MAXCOUNT    10    // 可处理的log文件数量
#define LOGFILE_NAMELENTH   50
#define LOGFILE_ALIVEDAYS   5




#ifdef LOG_IS_SALOF
    #define         SALOF_USING_LOG                     (1U)
    #define         SALOF_USING_SALOF                   (1U)
    #define         SALOF_LOG_LEVEL                     LOG_LEVEL
    #define         SALOF_OS                            4
    #define         SALOF_USING_IDLE_HOOK               (0U)
    #define         SALOF_LOG_COLOR                     (0U)
    #define         SALOF_LOG_TS                        (1U)
    #define         SALOF_LOG_TAR                       (0U)
    #define         SALOF_BUFF_SIZE                     512
    #define         SALOF_FIFO_SIZE                     4096
    #define         SALOF_TASK_STACK_SIZE               1024
    #define         SALOF_TASK_TICK                     50
#endif



#endif /* _MQTT_CONFIG_H_ */
